<?php
    $email = $_POST['email'];
    $password = $_POST['password'];

    if ($email=="jesusperales" && $password=="hola") {
        session_start();
        $_SESSION['admin']="$email";
        header('Location: ../menu.php');
    }
    else {
        header('Location: ../index.php');
    }
?>
